package com.qf.feign;


import com.qf.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 你的名字
 * @Date: 2021/07/14/17:03
 * @Description:
 */
@FeignClient(name ="shop-user" )
public interface UserService {

    @RequestMapping("user/getUserByUuid")
    User getUserByUuid(@RequestParam(value = "uuid") String uuid);

  @RequestMapping("user/getUserByName")
    User getUserByName(@RequestParam("username") String param);
  @RequestMapping("/user/addUser")
    boolean addUser(User user);

}
